import UIKit

for i in 0..<10 {
  if i.isMultiple(of: 2) {
    print("\(i)是2的倍数")
  }else{
    print("\(i)不是")
  }
}
